package com.jyw.system.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Created by ZhangCheng on 2024/01/24
 */
@Data
public class SysMessageEditDto {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 是否阅读
     */
    @ApiModelProperty("是否阅读")
    @NotNull(message = "是否阅读不能为空")
    private Integer reading;
}
